package com.example.test.advice.第六章_枚举和注解.建议90_小心注解继承;

public class Client {
    public static void main(String[] args) {
        Bird bird = BirdNest.Sparrow.reproduce();
        Desc.Color color = bird.getColor();
        System.out.println("Bird`s color is :"+color);

        Bird b = new Sparrow();
        System.out.println(b.getColor());
    }
}
